import http from '@/utils/http'

export function userLogin(data) {
  return http.post(`/api/user/login`, data)
}

export function userInfo() {
  return http.get(`/api/user/info`)
}